// import types from './types'
export default {
  state: {
    pageLoading: false, // 页面加载
    moduleState: 0, // 模块
    templateState: 0, // 模板
    viewState: 0, // 页面
    contentState: 0, // 内容
    moduleCheckState: 0, // 模块审核
    contentCheckState: 0, // 内容审核
    xinmanjianState: 0, // 新满减
    xinmanzengState: 0, // 新满赠
    jiajiagouState: 0, // 加价购
    dpzkState: 0, // 单品折扣
    dhmState: 0, // 兑换码
    dtState: 0, // 定投
    zcfqState: 0, // 注册返券
    czfqState: 0, // 充值返券
    mfState: 0, // 满返
    lqzxState: 0, // 领券中心
    ddddState: 0, // 多订多得
    cxfyState: 0, // 促销费用
    xjqState: 0, // 现金券
    swqState: 0, // 实物券
    mjqState: 0, // 满减券
    ppqState: 0,  // 品牌券
    plqState: 0,  // 品类券
    manjianState: 0, // 满减
    setPostState: 0, // 切换岗位
    dztzState: 0, // 动作跳转
    mkglState: 0, // 模块管理
    bannerState: 0, // banner
    kjggState: 0, // 开机广告
    ymggState: 0, // 页面广告
    ktggState: 0, // 款台广告
    sphdState: 0, // 商品活动
    pttcState: 0, // 普通套餐
    yijianState: 0, // 1+n套餐
    xsqgState: 0, // 限时抢购套餐
    hfmbState: 0, // 换肤模板
    hfcxState: 0, // 换肤
    gonggaoglState: 0 // 公告
  },
  mutations: {
    pageLoading (state, data) {
      state.pageLoading = data
    },
    moduleState (state, data) {
      state.moduleState = data
    },
    templateState (state, data) {
      state.templateState = data
    },
    viewState (state, data) {
      state.viewState = data
    },
    contentState (state, data) {
      state.contentState = data
    },
    contentCheckState (state, data) {
      state.contentCheckState = data
    },
    moduleCheckState (state, data) {
      state.moduleCheckState = data
    },
    dhmState (state, data) {
      state.dhmState = data
    },
    dtState (state, data) {
      state.dtState = data
    },
    zcfqState (state, data) {
      state.zcfqState = data
    },
    czfqState (state, data) {
      state.czfqState = data
    },
    mfState (state, data) {
      state.mfState = data
    },
    lqzxState (state, data) {
      state.lqzxState = data
    },
    ddddState (state, data) {
      state.ddddState = data
    },
    cxfyState (state, data) {
      state.cxfyState = data
    },
    xjqState (state, data) {
      state.xjqState = data
    },
    swqState (state, data) {
      state.swqState = data
    },
    mjqState (state, data) {
      state.mjqState = data
    },
    ppqState (state, data) {
      state.ppqState = data
    },
    plqState (state, data) {
      state.plqState = data
    },
    manjianState (state, data) {
      state.manjianState = data
    },
    xinmanjianState (state, data) {
      state.xinmanjianState = data
    },
    xinmanzengState (state, data) {
      state.xinmanzengState = data
    },
    jiajiagouState (state, data) {
      state.jiajiagouState = data
    },
    dztzState (state, data) {
      state.dztzState = data
    },
    setPostState (state, data) {
      state.setPostState = data
    },
    mkglState (state, data) {
      state.mkglState = data
    },
    bannerState (state, data) {
      state.bannerState = data
    },
    kjggState (state, data) {
      state.kjggState = data
    },
    ymggState (state, data) {
      state.ymggState = data
    },
    ktggState (state, data) {
      state.ktggState = data
    },
    sphdState (state, data) {
      state.sphdState = data
    },
    pttcState (state, data) {
      state.pttcState = data
    },
    yijianState (state, data) {
      state.yijianState = data
    },
    xsqgState (state, data) {
      state.xsqgState = data
    },
    hfmbState (state, data) {
      state.hfmbState = data
    },
    hfcxState (state, data) {
      state.hfcxState = data
    },
    gonggaoglState (state, data) {
      state.gonggaoglState = data
    },
    dpzkState (state, data) {
      state.dpzkState = data
    }
  },
  actions: {
    pageLoading ({commit}, data) {
      commit('pageLoading', data)
    },
    contentCheckState ({commit}, data) {
      commit('contentCheckState', data)
    },
    moduleCheckState ({commit}, data) {
      commit('moduleCheckState', data)
    },
    moduleState ({commit}, data) {
      commit('moduleState', data)
    },
    templateState ({commit}, data) {
      commit('templateState', data)
    },
    viewState ({commit}, data) {
      commit('viewState', data)
    },
    contentState ({commit}, data) {
      commit('contentState', data)
    },
    dhmState ({commit}, data) {
      commit('dhmState', data)
    },
    dtState ({commit}, data) {
      commit('dtState', data)
    },
    zcfqState ({commit}, data) {
      commit('zcfqState', data)
    },
    czfqState ({commit}, data) {
      commit('czfqState', data)
    },
    mfState ({commit}, data) {
      commit('mfState', data)
    },
    lqzxState ({commit}, data) {
      commit('lqzxState', data)
    },
    ddddState ({commit}, data) {
      commit('ddddState', data)
    },
    cxfyState ({commit}, data) {
      commit('cxfyState', data)
    },
    xjqState ({commit}, data) {
      commit('xjqState', data)
    },
    mjqState ({commit}, data) {
      commit('mjqState', data)
    },
    ppqState ({commit}, data) {
      commit('ppqState', data)
    },
    plqState ({commit}, data) {
      commit('plqState', data)
    },
    swqState ({commit}, data) {
      commit('swqState', data)
    },
    manjianState ({commit}, data) {
      commit('manjianState', data)
    },
    xinmanjianState ({commit}, data) {
      commit('xinmanjianState', data)
    },
    xinmanzengState ({commit}, data) {
      commit('xinmanzengState', data)
    },
    jiajiagouState ({commit}, data) {
      commit('jiajiagouState', data)
    },
    dztzState ({commit}, data) {
      commit('dztzState', data)
    },
    setPostState ({commit}, data) {
      commit('setPostState', data)
    },
    mkglState ({commit}, data) {
      commit('mkglState', data)
    },
    bannerState ({commit}, data) {
      commit('bannerState', data)
    },
    kjggState ({commit}, data) {
      commit('kjggState', data)
    },
    ymggState ({commit}, data) {
      commit('ymggState', data)
    },
    ktggState ({commit}, data) {
      commit('ktggState', data)
    },
    sphdState ({commit}, data) {
      commit('sphdState', data)
    },
    pttcState ({commit}, data) {
      commit('pttcState', data)
    },
    yijianState ({commit}, data) {
      commit('yijianState', data)
    },
    xsqgState ({commit}, data) {
      commit('xsqgState', data)
    },
    hfmbState ({commit}, data) {
      commit('hfmbState', data)
    },
    hfcxState ({commit}, data) {
      commit('hfcxState', data)
    },
    gonggaoglState ({commit}, data) {
      commit('gonggaoglState', data)
    },
    dpzkState ({commit}, data) {
      commit('dpzkState', data)
    }
  }
}
